home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / unix / include / amiga / ioctl.h
Encoding:
C/C++ Source or Header  |  1992-08-08  |  641 b   |  16 lines

  1. #ifndef _AMIGA_H
  2. #define _AMIGA_H
  3.  
  4. /* Amiga specific ioctl's */
  5.  
  6. #define _AMIGA_IOCTL_BASE 2048
  7.  
  8. #define _AMIGA_INTERACTIVE (_AMIGA_IOCTL_BASE + 0) /* Is file Interactive ? */
  9. #define _AMIGA_GET_FH (_AMIGA_IOCTL_BASE + 1) /* Get an AmigaDOS fh for file */
  10. #define _AMIGA_FREE_FH (_AMIGA_IOCTL_BASE + 2) /* Free a fh obtained by GET_FH */
  11. #define _AMIGA_TRUNCATE (_AMIGA_IOCTL_BASE + 3) /* Truncate file to given size */
  12. #define _AMIGA_SETPROTECTION (_AMIGA_IOCTL_BASE + 4) /* Set (amiga) protection on file */
  13. #define _AMIGA_DELETE_IF_ME (_AMIGA_IOCTL_BASE + 5) /* Delete myself if I am the file whose lock is passed as parameter */
  14.  
  15. #endif
  16.